package com.baor.dao;

import com.baor.domain.MenuVo;
import com.github.yulichang.base.mapper.MPJJoinMapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Component
public interface MenuDao extends MPJJoinMapper<MenuVo> {
    public List<MenuVo> menuList(Map<String,Object> params);
    Map<String,Object> findPageCount(Map<String,Object> params);
    int deleteMenu(int menuId);
    List<MenuVo> roleMenuList(int roleId);
    List<Integer> findMenuId(int roleId);
    int addRoleMenu(Map<String,Object> params);
    int delete(Map<String,Object> params);
    int MenuId();
}
